package com.ruoyi.production.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 生产计划对象 plan_model_info
 *
 * @author ruoyi
 * @date 2022-09-01
 */
public class PlanModelInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;
    private String projectNo;

    /**
     * 构件编号
     */
    @Excel(name = "构件编号")
    private String compomentNo;

    /**
     * 构件类别
     */
    @Excel(name = "构件类别")
    private String compomentType;

    /**
     * 构件名称
     */
    @Excel(name = "构件名称")
    private String compomentName;

    /**
     * 规格
     */
    @Excel(name = "规格")
    private String specifications;

    /**
     * 材质
     */
    @Excel(name = "材质")
    private String texture;

    /**
     * 长度
     */
    @Excel(name = "长度")
    private Long length;

    /**
     * 单表面积
     */
    @Excel(name = "单表面积")
    private Long surfaceArea;

    /**
     * 单毛重量
     */
    @Excel(name = "单毛重量")
    private Double grossWeight;

    /**
     * 产出量
     */
    @Excel(name = "产出量")
    private Long yieldCount;

    /**
     * BOM编号
     */
    @Excel(name = "BOM编号")
    private String bomNo;

    //剩余生产量
    /**
     * 楼栋编号
     */
    @Excel(name = "楼栋编号")
    private String buildNo;

    /**
     * 楼层
     */
    @Excel(name = "楼层")
    private String floor;

    /**
     * 工单id
     */
    @Excel(name = "工单id")
    private Long workOrderId;

    /**
     * 建模id
     */
    @Excel(name = "建模id")
    private Long modelId;

    /**
     * 工单排产数量
     */
    @Excel(name = "工单排产数量")
    private Long count;

    //查询条件
    //楼层范围
    private List<String> floorRange;

    public String getProjectNo() {
        return projectNo;
    }

    public void setProjectNo(String projectNo) {
        this.projectNo = projectNo;
    }

    public String getCompomentNo() {
        return compomentNo;
    }

    public void setCompomentNo(String compomentNo) {
        this.compomentNo = compomentNo;
    }

    public String getCompomentType() {
        return compomentType;
    }

    public void setCompomentType(String compomentType) {
        this.compomentType = compomentType;
    }

    public String getCompomentName() {
        return compomentName;
    }

    public void setCompomentName(String compomentName) {
        this.compomentName = compomentName;
    }

    public String getSpecifications() {
        return specifications;
    }

    public void setSpecifications(String specifications) {
        this.specifications = specifications;
    }

    public String getTexture() {
        return texture;
    }

    public void setTexture(String texture) {
        this.texture = texture;
    }

    public Long getLength() {
        return length;
    }

    public void setLength(Long length) {
        this.length = length;
    }

    public Long getSurfaceArea() {
        return surfaceArea;
    }

    public void setSurfaceArea(Long surfaceArea) {
        this.surfaceArea = surfaceArea;
    }

    public Double getGrossWeight() {
        return grossWeight;
    }

    public void setGrossWeight(Double grossWeight) {
        this.grossWeight = grossWeight;
    }

    public Long getYieldCount() {
        return yieldCount;
    }

    public void setYieldCount(Long yieldCount) {
        this.yieldCount = yieldCount;
    }

    public String getBomNo() {
        return bomNo;
    }

    public void setBomNo(String bomNo) {
        this.bomNo = bomNo;
    }

    public String getBuildNo() {
        return buildNo;
    }

    public void setBuildNo(String buildNo) {
        this.buildNo = buildNo;
    }

    public String getFloor() {
        return floor;
    }

    public void setFloor(String floor) {
        this.floor = floor;
    }

    public List<String> getFloorRange() {
        return floorRange;
    }

    public void setFloorRange(List<String> floorRange) {
        this.floorRange = floorRange;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setWorkOrderId(Long workOrderId) {
        this.workOrderId = workOrderId;
    }

    public Long getWorkOrderId() {
        return workOrderId;
    }

    public void setModelId(Long modelId) {
        this.modelId = modelId;
    }

    public Long getModelId() {
        return modelId;
    }

    public void setCount(Long count) {
        this.count = count;
    }

    public Long getCount() {
        return count;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("workOrderId", getWorkOrderId())
                .append("modelId", getModelId())
                .append("count", getCount())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .toString();
    }
}
